{% if user.is_authenticated %}
    {% include "header2.html" %}
{% else %}
    {% include "header.html" %}
{% endif %}

<h1>Login</h1>

<form name="form1" method="post" action="/logado">
	<label>Email:
	<input type="text" name="email" id="email">
	</label>
	</br>
	<label>Senha:
	<input type="password" name="senha" id="senha">
	</label>
	</br>
	<label>
	<input type="submit" name="button" id="button" value="Enviar">
	</label>
</form>
<a href="/cadastro/">Cadastrar</a>
{% include "rodape.html" %} 